package org.zxp.javacheck;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2020-09-05 15:20
 **/
public class OTHTest {
    //volatile  static int i = 1;
    public static void main(String[] args){
        int i = 1;
        //while(true){
        //    //i=i+1;
        //    //i++;
        //    ++i;
        //    //System.out.println(++i);
        //    if(1 == i){
        //        System.out.println("======");
        //        //break;
        //    }
        //}
        for (int j = 0; j < 500000000; j++) {
            //i=i+1;
            //i++;
            ++i;
            //System.out.println(++i);
            if(1 == i){
                System.out.println("======");
                //break;
            }
        }

    }
}
